FROM openjdk:17-jdk-slim

WORKDIR /app

# 确保JAR文件名与Maven构建输出一致
COPY target/laundry-app.jar /app.jar

EXPOSE 8080

ENTRYPOINT ["java", "-jar", "/app.jar"]